package com.jasonchoi.eurekaclient1.remote;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @Author: JasonChoi
 * @Date: 2020/3/9 11:36
 */
@FeignClient(name = "eureka-client2", path = "/client2", fallback = Client2RemoteCallback.class)
public interface Client2RemoteService {

    @RequestMapping
    public String hello();
}
